package com.artist.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;
@Table(name = "tb_list")
public class TbList implements Serializable {
  private static final long serialVersionUID = 1541687690415026565L;
  @Id
  private Long listId;
  private Long cateId;
  private String listName;
  private Long listStatus;
  private Timestamp listCreatAt;
  private Timestamp listUpdateAt;
  private String uName;

  @Override
  public String toString() {
    return "TbList{" +
            "listId=" + listId +
            ", cateId=" + cateId +
            ", listName='" + listName + '\'' +
            ", listStatus=" + listStatus +
            ", listCreatAt=" + listCreatAt +
            ", listUpdateAt=" + listUpdateAt +
            ", uName='" + uName + '\'' +
            '}';
  }

  public TbList() {
  }

  public TbList(Long listId, Long cateId, String listName, Long listStatus, Timestamp listCreatAt, Timestamp listUpdateAt, String uName) {
    this.listId = listId;
    this.cateId = cateId;
    this.listName = listName;
    this.listStatus = listStatus;
    this.listCreatAt = listCreatAt;
    this.listUpdateAt = listUpdateAt;
    this.uName = uName;
  }

  public Long getListId() {
    return listId;
  }

  public void setListId(Long listId) {
    this.listId = listId;
  }


  public Long getCateId() {
    return cateId;
  }

  public void setCateId(Long cateId) {
    this.cateId = cateId;
  }


  public String getListName() {
    return listName;
  }

  public void setListName(String listName) {
    this.listName = listName;
  }


  public Long getListStatus() {
    return listStatus;
  }

  public void setListStatus(Long listStatus) {
    this.listStatus = listStatus;
  }


  public java.sql.Timestamp getListCreatAt() {
    return listCreatAt;
  }

  public void setListCreatAt(java.sql.Timestamp listCreatAt) {
    this.listCreatAt = listCreatAt;
  }


  public java.sql.Timestamp getListUpdateAt() {
    return listUpdateAt;
  }

  public void setListUpdateAt(java.sql.Timestamp listUpdateAt) {
    this.listUpdateAt = listUpdateAt;
  }


  public String getUName() {
    return uName;
  }

  public void setUName(String uName) {
    this.uName = uName;
  }

}
